﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace pwblog.Entities
{
    public class ArticleXml
    {
        private string title;

        private string id;

        public string Id
        {
            get { return id; }
            set { id = value; }
        }
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private string pubDate;

        public string PubDate
        {
            get { return pubDate; }
            set { pubDate = value; }
        }
        private string creator;

        public string Creator
        {
            get { return creator; }
            set { creator = value; }
        }
        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        private string link;

        public string Link
        {
            get { return link; }
            set { link = value; }
        }

        public ArticleXml()
        { 
        }

        public ArticleXml(string id, string title, string pubDate, string creator, string description, string link)
        {
            this.id = id;
            this.title = title;
            this.pubDate = pubDate;
            this.creator = creator;
            this.description = description;
            this.link = link;
        }
    }
}